package cn.jinjimi.app.entity;

/**
 * Created by Roy
 * Date: 16/1/25
 */
public class ArticleMeta {

    public final static int isNotCollect = 0;
    public final static int isCollect = 1;

    /* 文章ID */
    private String id;

    /* 文章是否收藏 */
    private int article_collect_boolean;

    private ArticleCollect article_collect;

    private String link;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public ArticleCollect getArticle_collect() {
        return article_collect;
    }

    public void setArticle_collect(ArticleCollect article_collect) {
        this.article_collect = article_collect;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public int getArticle_collect_boolean() {
        return article_collect_boolean;
    }

    public void setArticle_collect_boolean(int article_collect_boolean) {
        this.article_collect_boolean = article_collect_boolean;
    }

    public boolean isCollect() {
        return this.getArticle_collect_boolean() == isCollect;
    }
}
